package ComputerOrganization.ComputerOrganizationWithInterface;

/**
 * @Author maojiangyue
 * @Date 2025/10/22
 * @Description 模块件-集成了CPU、内存、硬盘
 */
public class ModularComponents implements CPU, Memory, HardDisk{
    @Override
    public String getCPUModel() {
        return "Intel Ultra5-228V";
    }

    @Override
    public double getFrequency() {
        return 4.50;
    }

    @Override
    public String getHardDiskModel() {
        return "LPDDR5x PCIe-NVMe";
    }

    @Override
    public int getHardDiskCapacity() {
        return 1024;
    }

    @Override
    public String getMemoryModel() {
        return "DDR4 8533Mhz";
    }

    @Override
    public int getMemoryCapacity() {
        return 48;
    }
}
